package com.cr.admin.business.news.service;

import com.cr.admin.business.news.pojo.entity.News;
import com.cr.admin.business.news.pojo.param.NewsCreateParam;
import com.cr.admin.business.news.pojo.query.NewsQuery;
import com.cr.admin.business.news.pojo.vo.NewsCategoryVO;
import com.cr.admin.business.news.pojo.vo.NewsDetailsVO;

import com.cr.admin.business.news.pojo.vo.NewsStatusVO;


import java.util.List;

public interface NewsService {

    List<NewsCategoryVO> getNewsCategory();

    List<NewsStatusVO> getNewsStatus();
    
    List<News> list(NewsQuery newsQuery);

    NewsDetailsVO getNewsDetails(Integer id);

    void saveCreate(NewsCreateParam param);

    void deleteNews(List<Long> ids);

    void sendNews(int id);
}
